package com.dks.models;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    public Users() {
    }

    /**
     * 主键
     */
    private Long id;
    /**
     * 账号
     */
    private String loginName;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * 用户类型：0 家长、1 老师
     */
    private Integer userType;
    /**
     * 头像
     */
    private String profilePhotoUrl;
    /**
     * 性别：0为男，1为女，2保密
     */
    private Integer sex;
    /**
     * 签约时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime signingStartTime;
    /**
     * 合约终止时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime signingEndTime;
    /**
     * 剩余课时
     */
    private Integer surplusClassHour;
    /**
     * 冻结课时
     */
    private Integer frozenClassHour;
    /**
     * 创建人
     */
    private Long createUserId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtCreateTime;
    /**
     * 修改人
     */
    private Long modifyUserId;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtModifyTime;
    /**
     * 有效状态 0可用 1不可用
     */
    private Integer recStatus;

    /**
     * 省
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 区
     */
    private String district;

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public final Long getId() {
        return this.id;
    }

    public final void setId(final Long id) {
        this.id = id;
    }

    public final String getLoginName() {
        return this.loginName;
    }

    public final void setLoginName(final String loginName) {
        this.loginName = loginName;
    }

    public final String getNickname() {
        return this.nickname;
    }

    public final void setNickname(final String nickname) {
        this.nickname = nickname;
    }

    public final Integer getUserType() {
        return this.userType;
    }

    public final void setUserType(final Integer userType) {
        this.userType = userType;
    }

    public final String getProfilePhotoUrl() {
        return this.profilePhotoUrl;
    }

    public final void setProfilePhotoUrl(final String profilePhotoUrl) {
        this.profilePhotoUrl = profilePhotoUrl;
    }

    public final Integer getSex() {
        return this.sex;
    }

    public final void setSex(final Integer sex) {
        this.sex = sex;
    }


    public final Integer getSurplusClassHour() {
        return this.surplusClassHour;
    }

    public final void setSurplusClassHour(final Integer surplusClassHour) {
        this.surplusClassHour = surplusClassHour;
    }

    public final Integer getFrozenClassHour() {
        return this.frozenClassHour;
    }

    public final void setFrozenClassHour(final Integer frozenClassHour) {
        this.frozenClassHour = frozenClassHour;
    }

    public final Long getCreateUserId() {
        return this.createUserId;
    }

    public final void setCreateUserId(final Long createUserId) {
        this.createUserId = createUserId;
    }


    public final Long getModifyUserId() {
        return this.modifyUserId;
    }

    public final void setModifyUserId(final Long modifyUserId) {
        this.modifyUserId = modifyUserId;
    }


    public final Integer getRecStatus() {
        return this.recStatus;
    }

    public final void setRecStatus(final Integer recStatus) {
        this.recStatus = recStatus;
    }

    public LocalDateTime getSigningStartTime() {
        return signingStartTime;
    }

    public void setSigningStartTime(LocalDateTime signingStartTime) {
        this.signingStartTime = signingStartTime;
    }

    public LocalDateTime getSigningEndTime() {
        return signingEndTime;
    }

    public void setSigningEndTime(LocalDateTime signingEndTime) {
        this.signingEndTime = signingEndTime;
    }

    public LocalDateTime getGmtCreateTime() {
        return gmtCreateTime;
    }

    public void setGmtCreateTime(LocalDateTime gmtCreateTime) {
        this.gmtCreateTime = gmtCreateTime;
    }

    public LocalDateTime getGmtModifyTime() {
        return gmtModifyTime;
    }

    public void setGmtModifyTime(LocalDateTime gmtModifyTime) {
        this.gmtModifyTime = gmtModifyTime;
    }
}
